/*
Copyright 2009 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

@author Matt Holden
*/

body {
  font-family: helvetica, arial, sans-serif;
  font-size: 70%;
  color: #333;
}

a, a:visited, a:hover {
  color: #00c;
}

a:active {
  color: #f00;
}

#pixel_image {
  position: absolute;
  top: -1000px;
}

#left_panel {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 400px;
  padding: 10px;
}

#right_panel {
  position: absolute;
  top: 0px;
  left: 420px;
  width: 700px;
  padding: 10px;
}


/**** left_panel contents ****/


/* logo */

#logo {
  margin-top: 20px;
  height: 70px;
  background: transparent url(images/gdata-maps_40x40.png) no-repeat scroll top left;
}

#logo > #title {
  padding-left: 50px;
  font-family: helvetica;
  font-size: 35pt;
  color: #333;
}

#logo > #slogan {
  padding-left: 50px;
  color: #888;
}

/* search form */

#search_form {
  padding: 10px;
  background-color: aliceblue;
  border: 2px solid forestgreen;
  font-size: 1.3em;
  font-weight: bold;
  -moz-border-radius-bottomleft: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
}

#search_form > #search_input {
  margin: 5px 5px 0 0;
  padding-left: 3px;
  width: 280px;
}

#filters_panel {
  padding: 5px;
}

#filters_panel > #left_filters {
  float: left;
  padding-right: 60px;
}

#filters_panel span.label {
  float: right;
  margin: 3px 3px 3px 0;
  padding: 2px 2px 2px 0;
}

#filters_panel select {
  float: right;
  margin: 3px;
  text-align: right;
  width: 110px;
}

/* results table */

#results_container {
  overflow: auto;
  font-size: 1.2em;
}

.result {
  border-bottom: 1px solid #666666;
  padding: 5px;
  margin: 5px 0 5px 0;
  cursor: pointer;
}



/**** right_panel contents ****/


#map_container {
  border: 1px solid #aaa;
  height: 500px;
  overflow: hidden;
}

#map {
  width: 100%;
  height: 100%;
}

#footer {
  margin-top: 30px;
  font-size: 1.2em;
  color: #888;
}

#footer p {
  margin-bottom: 1.2em;
}

/* infowindows */

.infowindow {
  font-size: 1.2em;
  height: 100px;
  padding: 5px;
  overflow: auto;
}

.infowindow > .title {
  color: #111;
  font-weight: bold;
  font-size: 1.5em;
  padding-bottom: 10px;
}

.infowindow > .description {
  color: #333;
}

.infowindow .address {
  padding-bottom: 10px;
}